package org.dfzt.modules.online.cgform.converter.bb;

import com.alibaba.fastjson.JSONObject;

import java.util.HashMap;
import java.util.Map;

import org.dfzt.modules.online.cgform.link.LinkDown;
import org.dfzt.modules.online.cgform.entity.OnlCgformField;


public class e extends org.dfzt.modules.online.cgform.converter.aa.a {
    private String f;

    public String getLinkField() {
        return this.f;
    }


    public void setLinkField(String linkField) {
        this.f = linkField;
    }


    public e(OnlCgformField paramOnlCgformField) {
        String str = paramOnlCgformField.getDictTable();
        LinkDown a1 = JSONObject.parseObject(str, LinkDown.class);
        setTable(a1.getTable());
        setCode(a1.getKey());
        setText(a1.getTxt());
        this.f = a1.getLinkField();
    }


    @Override
    public Map<String, String> getConfig() {
        HashMap hashMap = new HashMap();
        hashMap.put("linkField", this.f);
        return hashMap;
    }
}
